﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ImaginaryNumber
{
    class ImaginaryNumbertest
    {
        static void Main(string[] args)
        {
            ImaginaryNumber first = new ImaginaryNumber(2, 2);
            ImaginaryNumber second = new ImaginaryNumber(2, 2);

            //Console.WriteLine(first + second);
            //Console.WriteLine(first - second);
            //Console.WriteLine(first * second);
            //Console.WriteLine(first / second);

            double someShit = 2.5;
            ImaginaryNumber third = someShit;
            //Console.WriteLine(third);
            //Console.WriteLine((double)first);
            //Console.WriteLine(first[0]);
            //Console.WriteLine(first[1]);

            PriorityQueue<ImaginaryNumber> numbers = new PriorityQueue<ImaginaryNumber>();

            numbers.Enqueue(first);
            numbers.Enqueue(second);
            numbers.Enqueue(third);

            foreach (var number in numbers)
            {
                Console.WriteLine(number);
            }
        }
    }
}
